<?php

//use yii\web\View;

use yii\helpers\Url;

echo $this->render('/layouts/top');

?>

<div style="margin:0px auto; width:1000px;">

		<div style="margin:0px auto; width:1000px; margin-top:10px;">
            <h1><?php echo isset($article["question"]) ? $article["question"] : ""?></h1>
		</div>
		<div style="margin-top:10px"><?php echo isset($article['answer']) ? stripslashes($article['answer']) : "";?></div>
		<div style="margin:0px auto; width:1000px; margin-top:10px; text-align:center "><input type="button" value="发表文章" onclick="dataedit()"/></div>

</div>
<br>
<?php echo $this->render('/layouts/footer');?>
